package com.kykj.kykj.service.tool;

import com.kykj.kykj.entity.UserEntity;

public interface TokenService {
    public String createToken(String uname); //创建token
    public boolean isToken(String uname,String token); //判定token
    public boolean delToken(String uname);//删除Token
    public UserEntity getUserByToken(String token);
    public String createUserToken(String uname, UserEntity userEntity); //创建token
}
